api classes in main, not test