Moved stuff around

common.py, internal.py and external.py moved to scripts folder