adjust code dir and add net suport

1. adjust code dir
2. add net manager to support net
3. add proto msg