Database working. controllers etc.