Update codebase to comply with PSR standards

Closes #1