Organized packages

organized the packages and did some more documentation inside the codes