Implemented basic framework