Move api classes to folder api