Implemented c plugin (fix #12)