added basic actor factory and test.