Add some basic stuffs

No commands yet, just basic opts stuff
Still doesn't work
At all
But is tested, shouldn't leak memory