Updated GUI

Added Library
Cleaned Code