Finished and debugged the program

There will be an release in a little bit...