Move the object representation to a seperate module.