Extract WorkerTable, ProtocolTable, AppTable into register.c
Refactor project file structure