Changed stuff so the application follows REST standard