Added TimeComponents Class to handle current time