base code of my framework