Restructured application into packages.