adding plugin loading functions + cleanup startup