Changed loadProperties return type and added listToArray method