Added in singleton creation to addSimObject
expanding lua functions
continuing to test things and making fixes