Refactoring some, made api controller