Rearrange config struture, add server git hook