Implemented Pack operation and Toolbar layout