Implemented basic functionality