Added license information
Updated identation and style