refactor get-resource function
add get-schemes-name and get-schemes-project functions