rearranged source tree, changed defaults for build, and put main app output in bin directory