refactored projects view
refactored projects controller
added model for code samples to be displayed along with projects