Some java classes to perform basic tasks