add ap status idea
refactor initial AP
dirty fix down serversocket