pactor-api classes moved to api package