Unmaximize before resize, add license and initial setup.py