Change listing files to require_relative

There were several problems with require funcioning on different system.
This commit should fix it once and for all.