add buildscript
cleaned up working directory
split project into declaration and implementation