Base code for project