Initial commit
Added new middleware that automatically renders views that match the requested path. Lost of other code reorganization.