Added cache as mongodb and stupid file import to that cache. Also added some stupid tests and rewrote rendering system. THis is overall pretty stupid, but fuck that. Seriously, who needs smart things when there are stupid people.