Add tradelib.py [WIP]