First release

Debug and polished code