Added RestfulJSON manager class

Also updated methods within the database bean.  Not in stable state.