few changes and added capfile