json addr moved to conf, introduced conf in server, moved structs to lib/structs, test fix incoming