add main code of coredate. next is connect to server
album communicate with apps ok