First functionnal version

This is the base code I'll be working on to optimize the heck out of
everything!