Updated license header and move session into its own package