Fix incorrect use of Function.call

Add autoload config option for opening a session
immediately. Remove build/ dir