added mod class and some packages