Basic java server skeleton