Updated directory structure of formula. Added cloudwatch state.