Init commit: the main frame of prototype version 2