Add frequency field to Repository class
Validate and save repositories from the form