Creating Python modules and applications