upgrade core files to 2.2.1
create Boxfile
add hooks