Project build fixes

Current state of the project is not very sutable for newbies because it's not buildable by default and you have to do some actions to fix it. I did it and would like to merge these changes into parent repository.