Changes on DataController and Cache

Some changes to improve cache hit.
Merge pull request #12 from diegocarloslima/update08

Changes on DataController and Cache