Finished auto manager and its service implementation, simple test is added.