Turing file to methods only

Removing executed code at the bottom of the file.

Methods only left in this file.