Added temporary compiler driver and made a few simple tests. Fixed a few issues in std, trans, and lib.