restructure, added test app
fix test app build process