added sample setup of port and static file dir
added db connection pooling, work-in-progress
moved templates to views