Subapps

refactored example_proj and added failing test for app under subdirectory (#29)