added several new functions + optimizations

updated readme coming soon