Initial commit; main class, utility functions