Easy way to create API for database