Refactored plugin loading
Added annotation based plugin loading and made it default in sample