Controller

not finished yet