Added connection to team city, improved offline mode