Added a RES_DIR constant which is the base folder dir of resource files , currently "resource". Some people prefer to have this folder called res,resources,assets etc. This gives them the flexibility to rename the folder to their liking.