Refactored pisos.js to crud.js
Major refactoring of controller infrastructure