Rewrite to using require_relative
Implement to loading models/ and lib/