Housecleaning: rename scorecastConfig -> config
Add new data types to the template config
Housecleaning: reorder require calls
Refactor the way how the program's flow goes

This uses only single request to the spreadsheet
Introduce initializeDatabase -function
General housecleaning, no changed functionality