Added Compilable interface, demos, benchmark, fixed corresponding bugs.