Added basic functionality for creating new records