Achieved basic program functionality

Program is basically functional