Moved history, charts, stocks, and utils to core.py

Core will be an API type module that only relies on the Python 2.7
standard lib.