Signup class, error codes defines file, some minor changes in other files