Refactoring

Cleaned up Session.cs, added Extentions.cs