minor improvement
added init(seed)
fixes for directories