Round 2

Cleaned up project. Set up getCredentials() method to obtain all
credentials from DB.