moved Loader from dotCore to own project