moving functionalities to service per model in order to implement the full api
added phpstorm file to gitignore