add local start script
implement fucntions
init test