Little functions + start of few core classes