Flag service fixes

* Add arguments to service definition
* Remove unused class import
* Import new classes
* Add class properties
* Update class constructor
* Add return argument type
* Remove Drupal static calls
* Add return argument type

Issue #33 
I don't know is this recommended or not perhaps @berdir can clarify.