Barely finished cmake + stuff, god knows what