Add some javadocs + added check init method