added prototype for chnaging duration monitor from php -> js ; added key value storage ; design is now saved as key value pair