Removed temp logging functions from script API.
Implemented an actual system wrapper for script (currently only logging APIs).