Added basic function packages and working function calls.