REST API added and actor model updated.