Unlinked class Main and GrAPI