Made Database-ActorMain dynamically inherit from the Actor Instance class