add server logging
arrange files