added instructions to build the project
moved phases structure out of legacy view logic