Implement Singleton reinforcement for Storage

Also moved toString of Task to the bottom, for better readability.