Formatting fixes pending tests.
Resources Refactor and Testing

- Formatting fixes for the resources app.
Resources Refactor and Testing

Added initial tests.