Massive update, added config stuff. Having problems, will fix them later.