make constructor take kwargs like a normal class

Removed the from_kwargs class method and just made the standard
constructor take kwargs, as any normal class would do.