Added java classes to handle session and url calls.