Add sha512 module, and checkvalid and testbed module skeleton

- Add sha512 module
- Add checkvalid and testbed module skeleton