Implemented constructor/prototype pattern for all objs, fixed undefined errors and scene now renders succesfully. Need to make checks for accuracy.