Fixed up relationships, added form to associate actions/values with a habit.