3d Printer LCD Controller without Marlin

Hello there!

I'm new to graphic displays in arduino, so I've been about two weeks now trying to use the u8g2 library on an arduino mega + RAMPS 1.4 to communicate with this 3d printer graphics controller, however I can't find a suitable constructor for the display (as instructed here). I don't intend on using this controler for a 3d printer, that's why I'm not using something like marlin. What am I doing wrong with the software/pinage for the constructor? Currently I'm using this code without success:

#include <Arduino.h>
#include <U8glib.h>
#include <U8g2lib.h>

// EXP1 Define                        RAMPS 1.4            Mini 12864
#define BEEPER_PIN         37    // | D37    D35 |    | BEEP      BRN_ENC |
#define LCDE_PIN           51    // | D51    D16 |    | LCD CS     LCD A0 |
#define LCD4_PIN           52    //   D52    NC  |    | LCD RST       RED  
#define BTN_ENC            35    // | NC     NC  |    | GREEN	     BLUE |
#define DOGLCD_A0          16    // | GND  +3.3V |    | GND           VCC |
#define DOGLCD_CS          17

// EXP2 Define
#define MISO_PIN           50    // | D50    D52 |    | KILL        GND |
#define BTN_EN2            31    // | D31    D53 |    | RST          CD |
#define BTN_EN1            33    //   D33    D51 |      MOSI    BTN_EN2 |
#define SD_DETECT_PIN      49    // | D49    D41 |    | SS      BTN_EN1 |
#define SCK_PIN            52    // | GND     NC |    | SK         MISO |
#define SD_CSEL_PIN        53
#define MOSI_PIN           51
#define KILL_PIN           41

#define BLUE  29
#define RED   25
#define GREEN 27

/*
Controller: ST7567 (compatible with UC1701)
Display: JLX12864 (128x64)
*/

U8G2_ST7567_JLX12864_F_4W_HW_SPI u8g2(/* rotation=*/ U8G2_R0, /* cs=*/ MOSI_PIN, /* dc=*/ DOGLCD_A0, /* reset=*/ LCD4_PIN); /* [full framebuffer, size = 1024 bytes] */

void setup() {

  u8g2.begin();

}

void loop () {

  u8g2.firstPage();
  do {
    u8g2.setFont(u8g2_font_ncenB14_tr);
    u8g2.drawStr(0,24,"Hello World!");
  } while ( u8g2.nextPage() );

}