Added ActiveModel and validation foundation