subscription_period table added
period functionality added in singlton variable and code refactored