direcrories creation implemented, fixed asserts