Implemented pastebin api, needs testing