1). Moved all HTTP calls to factory methods.
2). Code cleanup.