Removed useless stuff again and changed resourceDirectory name