Init issues

Config file is now stripped of it's path when required for the first
time. It still uses the full path when declared as data-main.

Added validation so that Init function doesn't crash when no modules are
included.