add prolog intro scripts and re-arrange directories