Add basic support for app root and ports via config