Finished main functionality (might add deeper image functionality)