changed directory structur for resources, added level definitions, fixed double load bug