Added auto register and many other features