Updated readme and removed unnessecary code in core.lua