style; use File.separatorChar
add comet
refactor to classes