fixed object creation to properly include layer, tags and name
implementing physics, WIP
implemented physics, but it's probably semi broken