Fix resource files and main start loop
Merge pull request #20 from gickowic/master

Fix resource files and main start loop