Added licenses, fixed Checkstyle bs