fix class name/interface, add sample configs, work