Extract FrameInfo class and add getters

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>