added initial crud.js - WIP