Added dynamic form gem, added validations and tests for validations