Annotations and some console fixes

-Plugin loading with annotations
-Some fixes for empty plugin params in console mode