setup basic template html viewer
improvements on database create and query
implemented play http behavior