Database: working open, create, insert