Code of the Beta Version

Everything working so far.