Library classes for swift with CRUD methods