fixed litthe graphic issue
save port type to properties file
log message impreoved
fixed wrong variable in possing
fixed wrong variable in polling
added init method to initialize objects