remove unused packages & integrate mdx

removing unused packages that have been installed for a long time. Also, start using mdx & @next/mdx for static pages such as privacy,about us, terms etc.