Class implementation tested, and I everything seems to work.