Added build/ folder to gitignore
Added gradle.properties and changed build.gradle to use it
Removed usingWaitLoop method