Added checks

added checks for hostname, username, ssh public keys, userdata multipart
and single, moved methods to utils class, created userdata scripts and
other stuff