Finished most of the functionality.
Merge remote-tracking branch 'origin/master'