Actually made server to somehow work