Refactorings

Created config object for configuration settings
Portfolio returns deferred objects now.  This will make it easy to load
data via service later.
General cleanup.