Fixed search path for config file; removed debug code; started implementation of plug-ins