started working on time aspect.
added config file
added config file so keys are not hardcoded