added devices template
there are problems with str and uuid in base
uuids now works, call for new object with .new not new