Added bashlib.get_modules function
Updated bashlib.version
Updated a couple of core functions to return correct integers