big refactoring, got rid of company views, implemented POST, PUT and DELETE in webservice.rb (all working).