Added nested attributes and some views

Beginning stages of incorporating nested attributes into controllers and views, ajax to come.