Main, print, printcopy implemented

Not tested yet