Removing definitions and redis setup