Finished Frontend

Implemented packing task, and fixed type 2 error