added licence, example, readme, optimized comparison to profitMax