Updated README.
Main function overhaul.
Added Travis CI.
Commented code.
Added file routines.