Remove unused functions
Add example programs