Hack to test carrying capacity in weight vector.
Test modules and directory.
Code clean up and wrote some documentation comments.