Fix demo app build config.
Refactor project layout.