Flag service fixes Issue #33

* 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