Minor updates
Prosessing major optimization and adding some new functions