update packages, organize views and controllers