Added edited code as the main projectfile