refactored redis AR to relect the latest changes

- make use of traits
- short array
- better implementation of query findByPk