WIP: Command Line Tool API

- Added plugins code