Merge pull request #4 from kamrik/master

PlatformProject and platform specific code refactoring