add package install functions and enable auto-complete at start.