restucture app to be more like Rails; learn once :-)