adds rails 4 structures