added page controller. renamed index file, pointing to controllers instead of static pages. added useful gems for debugging etc.