added pic controller, made stuff on the db appear