cleaned a bit the code, added styles to server and pool