First code upload. Fully functioning version.