added multithreading, plugins, autodiscovery, further orm development