Cleaned up code and worked on EntityManager. Can use scripts now to add objects.