WIP: adding support for loader plugins

TODO:
 - Reduce the size to stay < 5kB !!!