Moving base URL into constants. Fixing pragma marks and comments in requests. Removing unnecessary comments, and performing other general cleanup.