Clean up

updated method names to camelCase
added brackets in conditionals for consistancy
updated overal formating for consistancy