Added constants file, more refactoring, as well as added the API file for backend command