Fix tabular and add lstlisting

Now table is fold instead of tabular, which makes a lot more sense.