Creation and close/delete functions done.
Creation and close/delete functions done.