* new argument in debug function to print module in front of message
 * new function to load plugins into application