intial utility functions
stubbed out compact function
add description to compact
added the test for compact and also added package json