added composer.json and session interface