rm deprecated unused function
fix references to locations in bike model
make model binded to psql view readonly