maven support added, minor changes in model