implemented dir stucture
controller moved