separated init db script and start server script