made some methods, and added some old classes

my need further modifications