Consolidated variable assignment and added some stuff to README