Remove the 3rd party libraries

and dict function