Embed groovy engine into various applications