Changed routing and redis commands.
Added initial code for getting tasks from redis.