move image processing into a separate class. still horribly coupled
WIP: refactoring resource-handling
WIP - more font refactoring