world object and other memory storage revised, problems fixed, drawing functions started