An attempt att creating a well architectured 3d-printer firmware in C++