added stack files, started stack helper functions