Added support for Po.st url shortening, formatted and cleaned code.