Base implementation

Hmm, i have an idea on how i can solve this. But it will have to wait until tomorrow morning