added main application
added archive management module
completed get_historical_data and refactored