Some refactoring, moving things around. Created a .hs file to store html strings