added misc package and reorganized files