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