tidy up project structure
close #10 make debug menu invisible in relase config (and fix build phase, dunno why it broke)