controllers added

controllers module seperated by functions