Create api controllers, move apipie documentation