refactor core API module + add maven minifier on install phase