Move main code into functions.
Move fonts and images to a theme folder.
Moved out theme definition to a separate file.