added more structure to batlab plugins