Begining of pagesExt and made MongoDB more efficient and easier to use

Will be implementing Database into WebService next
Merge branch 'master' into homescreen