Added basic code for BasicPrefs.
Merge branch 'master' of https://github.com/XinyueZ/Chopping