First code base

to be updated soon