bugfix: append app_root to sys.path to support custom modules in user's folder

Append app_root to sys.path to support custom modules in user's folder.
Otherwise an error will occur.