Fix RubyMine inspection warnings
Split the one big source file