init prj and prototype layout