added null cehck to directory parser, could be removed
added streamxml lib and other user stuff