clean up code and use pygmentize to do the syntax job