Made idCounter persistant
- Make idCounter persistant.
- New bucket for idCounter
- Use persistant classes
type AWSCredentials
- Remove main methods
- remove unused imports