adds initial shared_graph class
adds initial texture class
fixes bug in shared handle
rewrites resource::map functional, updates main program