Most functionality implemented + re-organized.

Fully reorganized project and added most functionality. Readme will
contain more details.