Physics from information