Change capabilities exposure for files_versions since it extends files
Code style and remove OAuth code