Split footerView to a class