refactored resource loading to work with from jar