ResourceCost

[ADDED]     ResourceCost: Modules now have a resource cost associated with them.
[IMPROVED]  API for creating modules now uses Builder-style construction which is much more readable.