Corrected errors and added getters and setters
Added functional Id factory
Set up ActorFactory