Move codeclimate code to the top