Moved unnecessary functions out; Minor clean-up
Added a file with examples of custom application handling
Minor corrections
Ignoring the ".DS_Store" file