API for Plugins (solves #22)

- includes logging macros and turns them to functions
- exports customized types