Some session stuff is working
working history and some cleanup
renamed internals with basic ui