Adding getStatusByName method
Implementing filtering for get queries.