Galaxy-Sense is a project mainly written in ..., it's free.
To initialize get started with Galaxy-Sense, you'll need to get familiar with Git and Repo.
https://sites.google.com/a/android.com/opensource/download/using-repo
To initialize your local repository using the CyanogenMod/Galaxy-Sense trees, use a command like this:
repo init -u git://github.com/Chiledog/android.git -b gingerbread
Then to sync up:
repo sync
Then check the code and
./build.sh
i.e.
./build.sh galaxys kernel