Remove duplication in haml files, implement simple @include statement for html files to include other files
Remove redundant constants, make three simple http handle functions anonymous