Feature/structure

Reorganize application into a module to support better organization as app grows.