Added some code to Adapter pattern
Added Singleton pattern