Refactored runtime lib so that we don't require a runtime lib anymore
Version 0.4.0