move class file to root and start adding tests