Added a draft of offline compiler.