reworked resource management. now supports fonts
fixed files to use new resource system