WIP Add basic functions
Change type of objid to text
WIP saving work