Port of John Resig's Class model to Nodejs extended by useful IO features.