refactored assignments struct to separate file
Removed segue