Cleaned up structure and created own SHA256 C implementation