Added initial commit of lib/core.arc