put all static resources under /lib. and reorganized them.