Updated init to use FileUtils and Resources