WIP: Changes to core libraries and modules.

Issue #4
Changing unsigned int to size_t