fixed the slim template
slightly better readable style
make it a modular app