Added loader + plugins mechanism logic