Simple methods for database access and data insertion