Librarize ckylark

This branch separates libckylark from an executable.