updated: pt 3 

still in need of a few aesthetic changes, but is in total working condition and is ready to be integrated. Any further changes will not affect implementation in the system.