Resolved the resource directory for main files so it would be more easier to find.