Some classes were implemented; fields were turned to be constuctor arguments.
The weight limited trait was changed to allow maxWeight to be a function.