Updating the packages

I don’t like my old project packages’ sistem so I rewrite it
Clean the code