Started writing readme, optimized API