init server, assets and dependencies