Reorganize .profile and add newproject command
make pystartup work with py3