A Layered Architecture for Active Perception: Image Classification using Deep Reinforcement Learning