Got rid of unused import and missing @Override warnings
Improved resource and exception management
Small fixes regarding to memory and exceptions management
Merge pull request #2 from malawski/bryk-code-cleanup

Bryk code cleanup