restructured the files
add url rewrite rules to remove index.php from urls
Merge branch 'master' of bitbucket.org:xiamx/comp307

Conflicts:
	application/views/index.php
Added RESTful Controller
added card model. implemented basics rest api for cards.
bug fix
added selection page and selection controller
Merge branch 'master' of bitbucket.org:xiamx/comp307

Conflicts:
	application/controllers/home.php