add @sml decorator to register sml methods, small fix to app loading, minor change to docs