Initial implementation

We should use the classloader of the bundle here. The inputStream is never closed. It should be initialized with the try statement.