New base module. Code moved to scripts folder.