Move code to utilize resources folder, and simplify PSR-4.

Signed-off-by: crynobone <crynobone@gmail.com>