Total rewrite of pastebin parsing