Started work on proper MVC version as prototype was getting to be too unweildy. Currently only contains image loading functionality